import { Module } from '@nestjs/common';
import { MailerService } from './mailer.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Mail } from '../entities/mail.entity';
import { MailerController } from './mailer.controller';
import { MailAccountModule } from 'src/mail-account/mail-account.module';

@Module({
  imports: [TypeOrmModule.forFeature([Mail]), MailAccountModule],
  providers: [MailerService],
  controllers: [MailerController],
})
export class MailerModule {}
